package com.itheima.exception;

public class Demo04 {

    public static void main(String[] args) {
        try {
            String s="abc";
            System.out.println(s.charAt(3));
        } catch (Exception e) {

            e.printStackTrace();
        }
    }
}
